package com.caltco.cargo.ops.modules.sys.service;

import com.caltco.cargo.ops.common.api.Result;
import com.caltco.cargo.ops.common.base.gen.IBaseService;
import com.caltco.cargo.ops.modules.sys.entity.DailyStatistics;
import com.caltco.cargo.ops.modules.sys.request.StatisticsTimeRequest;
import com.caltco.cargo.ops.modules.sys.vo.DailyStatisticsByModelVO;
import com.caltco.cargo.ops.modules.sys.vo.DailyStatisticsVO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface DailyStatisticsService extends IBaseService<DailyStatistics> {
    List<DailyStatisticsVO> getDailyStatistics();

    DailyStatisticsVO getDailyStatisticsByDay();

    DailyStatisticsVO getDailyStatisticsByYesterday();

    DailyStatisticsByModelVO DailyStatisticsByModelVO(Integer model);
    Boolean statisticsTime(@RequestBody StatisticsTimeRequest request);
}
